﻿@model MvcAtletIS.Models.DisciplineList

@{
    ViewBag.Title = "Zoznam disciplín";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Zoznam disciplín: @ViewBag.Competition.Name</h2>

<fieldset>
    <legend>Zobraziť položku</legend>

    <div class="display-label">
        @Html.LabelFor(model=>model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
        @Html.LabelFor(model=>model.Description)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.ExternalId)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ExternalId)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.OfficialStartTime)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OfficialStartTime)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Day)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Day)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Relay)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Relay)
    </div>

    <p>
        @Html.ActionLink("Editovať", "Edit", new { id=Model.ID }) |
        @Html.ActionLink("Naspäť na zoznam disciplín", "Index", new { competitionId=Model.CompetitionId})
    </p>

</fieldset>